<?php
/**
 * 
 */
class SystemController extends Controller
{
	public function languageAction()
	{
		if(IS_POST){
			
			$sitename = isset($_POST['sitename'])? trim($_POST['sitename']): '';
			$desc = isset($_POST['desc'])? trim($_POST['desc']): '';
			//$datas =  array();
			$model = new Model();
			$row = $model->delete("language", ['id'=>2]);
		    $row = $model->get('language', "*", ['id'=>1]);
		    var_dump($row);
		}
	}
}